﻿using System;
using System . Collections . Generic;
using System . Linq;
using System . Text;

namespace WenceyWang . RichMan4L . Maps . Buildings
{
	public sealed class BuildingType
	{
		public string Name { get; private set; }

		public MapSize Size { get; private set; }

		public long StartBuildingPrice { get; private set; }

		public Type EntryPoint { get; private set; }

		public BuildingType ( BuildingAttribute attribute , Type entryPoint )
		{
			Name = attribute . Name;
			Size = attribute . Size;
			StartBuildingPrice = attribute . StartBuildingPrice;
			EntryPoint = entryPoint;
		}
	}
}
